package xiaomogu.task_engine.core.handler;


import xiaomogu.task_engine.core.context.JobContext;

public abstract class JobHandler {

    public abstract void execute(JobContext jobContext) throws Exception;


    public void init() throws Exception {
        // do something
    }


    public void destroy() throws Exception {
        // do something
    }


}
